package net.lab1024.smartadmin.module.system.employee.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加企业微信员工
 *
 * @author wuqian
 * @date 2021年03月24日下午2:06:31
 */
@Data
public class CpUserDTO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户userid")
    @NotNull(message = "用户user——ID 不能为空")
    private String userId;

    @ApiModelProperty("用户姓名")
    @NotNull(message = "用户姓名不能为空")
    private String name;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("部门id")
    @NotNull(message = "部门不能为空")
    private Long departId;

    @ApiModelProperty("email")
    private String email;

    @ApiModelProperty("avatar")
    private String avatar;


    @ApiModelProperty("thumbAvatar")
    private String thumbAvatar;

    @ApiModelProperty("createUser")
    private Long createUser;

    @ApiModelProperty("isdisabled")
    private int isDisabled;


    @ApiModelProperty("openid")
    private String openid;

    @ApiModelProperty("loginName")
    @NotNull(message = "帐号不能为空")
    private String loginName;

    @ApiModelProperty("loginPwd")
    @NotNull(message = "密码不能为空")
    private String loginPwd;
}
